{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\non-sig18dec2015.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}18 Jan 2016, 09:37:58
{txt}
{com}. set more off
{txt}
{com}. //Summary Statistics Table
. sum agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing  conflict_type gdp_growth_annual_perc ln_media non_sig_diff_id all_nonsig if  exclude_cases==0 & year<2013

{txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 56}
agg_imp_ra~c {c |}{res}       313    56.65384    20.13295   1.851852   93.93939
{txt}{space 3}dead_1000 {c |}{res}       313     187.554     474.107       .025       2300
{txt}refugee_1000 {c |}{res}       313    283.0517     401.673          0       1700
{txt}war_dur_mo~s {c |}{res}       313    135.5208    132.7123          6        433
{txt}{space 1}infant_rate {c |}{res}       307    65.95049    39.23846        4.9      148.1
{txt}{hline 13}{c +}{hline 56}
polity_2_1~g {c |}{res}       303    3.155116    4.949316         -7         10
{txt}total_prov~c {c |}{res}       313    19.23962    7.039957          7         40
{txt}{space 4}ln_media {c |}{res}       313     4.89614    1.102651   2.197225   8.006368
{txt}{space 1}peacekeeing {c |}{res}       313    .4408946    .4972893          0          1
{txt}conflict_t~e {c |}{res}       313     .456869    .4989339          0          1
{txt}{hline 13}{c +}{hline 56}
gdp_growth~c {c |}{res}       305    4.855917    8.851664   -50.2481    88.9577
{txt}{space 4}ln_media {c |}{res}       313     4.89614    1.102651   2.197225   8.006368
{txt}non_sig_di~d {c |}{res}       313    .0766773    .2665048          0          1
{txt}{space 2}all_nonsig {c |}{res}       313    .1469649    .3546378          0          1
{txt}
{com}. 
. //Table 1 Model 1-6
. stset year_count, id(caseid) failure(non_sig_diff_id) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}non_sig_diff_id != 0 & non_sig_diff_id < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       27{txt}  observations begin on or after (first) failure
{hline 78}
{res}      261{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}        6{txt}  failures in single-failure-per-subject data
{res}      261{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. 
. streg  agg_imp_rate_woc  if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-23.512602
{txt}Iteration 1:   log pseudolikelihood = {res}-23.339975
{txt}Iteration 2:   log pseudolikelihood = {res}-23.337822
{txt}Iteration 3:   log pseudolikelihood = {res}-23.337822

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-23.337822}  
Iteration 1:{space 3}log pseudolikelihood = {res:-19.229958}  
Iteration 2:{space 3}log pseudolikelihood = {res:-18.304089}  
Iteration 3:{space 3}log pseudolikelihood = {res:-18.277479}  
Iteration 4:{space 3}log pseudolikelihood = {res: -18.27739}  
Iteration 5:{space 3}log pseudolikelihood = {res: -18.27739}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       261
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         261
                                                   {txt}Wald chi2({res}1{txt})    ={res}      9.69
{txt}Log pseudolikelihood =   {res} -18.27739                {txt}Prob > chi2     ={res}    0.0019

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0550654{col 30}{space 2} .0176906{col 41}{space 1}    3.11{col 50}{space 3}0.002{col 58}{space 4} .0203923{col 71}{space 3} .0897384
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .6164101{col 30}{space 2} .7848773{col 41}{space 1}    0.79{col 50}{space 3}0.432{col 58}{space 4}-.9219212{col 71}{space 3} 2.154741
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .2376848{col 30}{space 2} .2215406{col 41}{space 1}    1.07{col 50}{space 3}0.283{col 58}{space 4}-.1965268{col 71}{space 3} .6718964
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.268309{col 30}{space 2}  .280982{col 58}{space 4} .8215793{col 71}{space 3} 1.957947
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .7884512{col 30}{space 2} .1746739{col 58}{space 4} .5107391{col 71}{space 3} 1.217168
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-23.133028
{txt}Iteration 1:   log pseudolikelihood = {res} -23.01777
{txt}Iteration 2:   log pseudolikelihood = {res}-23.016907
{txt}Iteration 3:   log pseudolikelihood = {res}-23.016907

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-23.016907}  
Iteration 1:{space 3}log pseudolikelihood = {res:-17.028955}  
Iteration 2:{space 3}log pseudolikelihood = {res:-14.580587}  
Iteration 3:{space 3}log pseudolikelihood = {res:-14.310569}  
Iteration 4:{space 3}log pseudolikelihood = {res:-14.297102}  
Iteration 5:{space 3}log pseudolikelihood = {res:-14.297069}  
Iteration 6:{space 3}log pseudolikelihood = {res:-14.297069}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       245
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         245
                                                   {txt}Wald chi2({res}6{txt})    ={res}     27.02
{txt}Log pseudolikelihood =   {res}-14.297069                {txt}Prob > chi2     ={res}    0.0001

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0397229{col 30}{space 2} .0137907{col 41}{space 1}    2.88{col 50}{space 3}0.004{col 58}{space 4} .0126936{col 71}{space 3} .0667521
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2}-1.622827{col 30}{space 2} 1.181695{col 41}{space 1}   -1.37{col 50}{space 3}0.170{col 58}{space 4}-3.938907{col 71}{space 3} .6932534
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} .0002556{col 30}{space 2} .0004793{col 41}{space 1}    0.53{col 50}{space 3}0.594{col 58}{space 4}-.0006837{col 71}{space 3}  .001195
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0002004{col 30}{space 2} .0009606{col 41}{space 1}    0.21{col 50}{space 3}0.835{col 58}{space 4}-.0016825{col 71}{space 3} .0020832
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0091766{col 30}{space 2} .0045913{col 41}{space 1}   -2.00{col 50}{space 3}0.046{col 58}{space 4}-.0181755{col 71}{space 3}-.0001777
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0243965{col 30}{space 2} .0165703{col 41}{space 1}   -1.47{col 50}{space 3}0.141{col 58}{space 4}-.0568736{col 71}{space 3} .0080806
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 5.081576{col 30}{space 2} 3.032679{col 41}{space 1}    1.68{col 50}{space 3}0.094{col 58}{space 4}-.8623647{col 71}{space 3} 11.02552
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .5568721{col 30}{space 2} .3202036{col 41}{space 1}    1.74{col 50}{space 3}0.082{col 58}{space 4}-.0707154{col 71}{space 3}  1.18446
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.745205{col 30}{space 2} .5588209{col 58}{space 4}  .931727{col 71}{space 3}  3.26892
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .5729985{col 30}{space 2} .1834762{col 58}{space 4} .3059114{col 71}{space 3} 1.073276
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-22.882992
{txt}Iteration 1:   log pseudolikelihood = {res}-22.776914
{txt}Iteration 2:   log pseudolikelihood = {res} -22.77619
{txt}Iteration 3:   log pseudolikelihood = {res} -22.77619

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -22.77619}  
Iteration 1:{space 3}log pseudolikelihood = {res:-16.904914}  
Iteration 2:{space 3}log pseudolikelihood = {res:-14.267793}  
Iteration 3:{space 3}log pseudolikelihood = {res:-14.067106}  
Iteration 4:{space 3}log pseudolikelihood = {res:-14.064939}  
Iteration 5:{space 3}log pseudolikelihood = {res:-14.064938}  
Iteration 6:{space 3}log pseudolikelihood = {res:-14.064938}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       235
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         235
                                                   {txt}Wald chi2({res}7{txt})    ={res}     56.88
{txt}Log pseudolikelihood =   {res}-14.064938                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0597539{col 36}{space 2} .0122716{col 47}{space 1}    4.87{col 56}{space 3}0.000{col 64}{space 4}  .035702{col 77}{space 3} .0838057
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2} .0002733{col 36}{space 2} .0006572{col 47}{space 1}    0.42{col 56}{space 3}0.677{col 64}{space 4}-.0010147{col 77}{space 3} .0015614
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0007574{col 36}{space 2} .0011522{col 47}{space 1}    0.66{col 56}{space 3}0.511{col 64}{space 4}-.0015009{col 77}{space 3} .0030157
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0056898{col 36}{space 2} .0040016{col 47}{space 1}   -1.42{col 56}{space 3}0.155{col 64}{space 4}-.0135328{col 77}{space 3} .0021532
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0021761{col 36}{space 2} .0060853{col 47}{space 1}    0.36{col 56}{space 3}0.721{col 64}{space 4}-.0097509{col 77}{space 3} .0141031
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2} .1302816{col 36}{space 2} .0958158{col 47}{space 1}    1.36{col 56}{space 3}0.174{col 64}{space 4}-.0575139{col 77}{space 3} .3180771
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} -.016355{col 36}{space 2} .0202706{col 47}{space 1}   -0.81{col 56}{space 3}0.420{col 64}{space 4}-.0560847{col 77}{space 3} .0233747
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .2606391{col 36}{space 2} .9656321{col 47}{space 1}    0.27{col 56}{space 3}0.787{col 64}{space 4}-1.631965{col 77}{space 3} 2.153243
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2}  .581507{col 36}{space 2} .2868304{col 47}{space 1}    2.03{col 56}{space 3}0.043{col 64}{space 4} .0193298{col 77}{space 3} 1.143684
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.788732{col 36}{space 2} .5130627{col 64}{space 4} 1.019518{col 77}{space 3} 3.138309
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5590552{col 36}{space 2}  .160354{col 64}{space 4} .3186429{col 77}{space 3} .9808558
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-23.108489
{txt}Iteration 1:   log pseudolikelihood = {res}-22.997461
{txt}Iteration 2:   log pseudolikelihood = {res}-22.996661
{txt}Iteration 3:   log pseudolikelihood = {res}-22.996661

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-22.996661}  
Iteration 1:{space 3}log pseudolikelihood = {res:-17.544402}  
Iteration 2:{space 3}log pseudolikelihood = {res:-15.639232}  
Iteration 3:{space 3}log pseudolikelihood = {res: -15.51196}  
Iteration 4:{space 3}log pseudolikelihood = {res:-15.511783}  
Iteration 5:{space 3}log pseudolikelihood = {res:-15.511783}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       244
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         244
                                                   {txt}Wald chi2({res}6{txt})    ={res}     31.72
{txt}Log pseudolikelihood =   {res}-15.511783                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0517373{col 36}{space 2} .0146901{col 47}{space 1}    3.52{col 56}{space 3}0.000{col 64}{space 4} .0229452{col 77}{space 3} .0805293
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0000756{col 36}{space 2} .0004401{col 47}{space 1}   -0.17{col 56}{space 3}0.864{col 64}{space 4}-.0009383{col 77}{space 3} .0007871
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0008477{col 36}{space 2} .0011932{col 47}{space 1}    0.71{col 56}{space 3}0.477{col 64}{space 4} -.001491{col 77}{space 3} .0031863
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0041118{col 36}{space 2} .0026856{col 47}{space 1}   -1.53{col 56}{space 3}0.126{col 64}{space 4}-.0093756{col 77}{space 3} .0011519
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0071355{col 36}{space 2} .0085061{col 47}{space 1}   -0.84{col 56}{space 3}0.402{col 64}{space 4}-.0238073{col 77}{space 3} .0095362
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2}-.0249924{col 36}{space 2} .0242278{col 47}{space 1}   -1.03{col 56}{space 3}0.302{col 64}{space 4} -.072478{col 77}{space 3} .0224931
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  1.54965{col 36}{space 2} 1.281577{col 47}{space 1}    1.21{col 56}{space 3}0.227{col 64}{space 4}-.9621961{col 77}{space 3} 4.061495
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .4876461{col 36}{space 2} .2474242{col 47}{space 1}    1.97{col 56}{space 3}0.049{col 64}{space 4} .0027036{col 77}{space 3} .9725886
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.628478{col 36}{space 2}  .402925{col 64}{space 4} 1.002707{col 77}{space 3} 2.644782
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .6140702{col 36}{space 2} .1519358{col 64}{space 4}  .378103{col 77}{space 3} .9973001
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -22.90847
{txt}Iteration 1:   log pseudolikelihood = {res}-22.798071
{txt}Iteration 2:   log pseudolikelihood = {res}-22.797286
{txt}Iteration 3:   log pseudolikelihood = {res}-22.797286

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-22.797286}  
Iteration 1:{space 3}log pseudolikelihood = {res:-16.616943}  
Iteration 2:{space 3}log pseudolikelihood = {res:-13.031458}  
Iteration 3:{space 3}log pseudolikelihood = {res:  -11.9104}  
Iteration 4:{space 3}log pseudolikelihood = {res:-11.787876}  
Iteration 5:{space 3}log pseudolikelihood = {res:-11.783718}  
Iteration 6:{space 3}log pseudolikelihood = {res:-11.783713}  
Iteration 7:{space 3}log pseudolikelihood = {res:-11.783713}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}8{txt})    ={res}    131.56
{txt}Log pseudolikelihood =   {res}-11.783713                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0581321{col 30}{space 2}  .007212{col 41}{space 1}    8.06{col 50}{space 3}0.000{col 58}{space 4} .0439968{col 71}{space 3} .0722674
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}  .000229{col 30}{space 2} .0006658{col 41}{space 1}    0.34{col 50}{space 3}0.731{col 58}{space 4}-.0010759{col 71}{space 3} .0015339
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0030189{col 30}{space 2} .0019241{col 41}{space 1}    1.57{col 50}{space 3}0.117{col 58}{space 4}-.0007524{col 71}{space 3} .0067901
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0056647{col 30}{space 2} .0034683{col 41}{space 1}   -1.63{col 50}{space 3}0.102{col 58}{space 4}-.0124625{col 71}{space 3}  .001133
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} -.003899{col 30}{space 2} .0061541{col 41}{space 1}   -0.63{col 50}{space 3}0.526{col 58}{space 4}-.0159608{col 71}{space 3} .0081627
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .1227171{col 30}{space 2} .1102574{col 41}{space 1}    1.11{col 50}{space 3}0.266{col 58}{space 4}-.0933836{col 71}{space 3} .3388177
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} -.082436{col 30}{space 2} .0379106{col 41}{space 1}   -2.17{col 50}{space 3}0.030{col 58}{space 4}-.1567395{col 71}{space 3}-.0081326
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.0762931{col 30}{space 2} .2168859{col 41}{space 1}   -0.35{col 50}{space 3}0.725{col 58}{space 4}-.5013817{col 71}{space 3} .3487955
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 1.902311{col 30}{space 2} 1.394122{col 41}{space 1}    1.36{col 50}{space 3}0.172{col 58}{space 4}-.8301167{col 71}{space 3}  4.63474
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .9738713{col 30}{space 2} .4920222{col 41}{space 1}    1.98{col 50}{space 3}0.048{col 58}{space 4} .0095255{col 71}{space 3} 1.938217
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 2.648177{col 30}{space 2} 1.302962{col 58}{space 4} 1.009571{col 71}{space 3} 6.946356
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .3776183{col 30}{space 2} .1857966{col 58}{space 4} .1439604{col 71}{space 3} .9905197
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -22.90847
{txt}Iteration 1:   log pseudolikelihood = {res}-22.798071
{txt}Iteration 2:   log pseudolikelihood = {res}-22.797286
{txt}Iteration 3:   log pseudolikelihood = {res}-22.797286

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-22.797286}  
Iteration 1:{space 3}log pseudolikelihood = {res:-16.512612}  
Iteration 2:{space 3}log pseudolikelihood = {res:-12.916262}  
Iteration 3:{space 3}log pseudolikelihood = {res:-11.830425}  
Iteration 4:{space 3}log pseudolikelihood = {res:-11.651365}  
Iteration 5:{space 3}log pseudolikelihood = {res:-11.634974}  
Iteration 6:{space 3}log pseudolikelihood = {res:-11.634906}  
Iteration 7:{space 3}log pseudolikelihood = {res:-11.634906}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}9{txt})    ={res}    145.06
{txt}Log pseudolikelihood =   {res}-11.634906                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0592121{col 30}{space 2} .0077146{col 41}{space 1}    7.68{col 50}{space 3}0.000{col 58}{space 4} .0440916{col 71}{space 3} .0743325
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} .0002371{col 30}{space 2} .0005672{col 41}{space 1}    0.42{col 50}{space 3}0.676{col 58}{space 4}-.0008746{col 71}{space 3} .0013489
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0036097{col 30}{space 2}  .002246{col 41}{space 1}    1.61{col 50}{space 3}0.108{col 58}{space 4}-.0007924{col 71}{space 3} .0080118
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} -.005427{col 30}{space 2} .0029921{col 41}{space 1}   -1.81{col 50}{space 3}0.070{col 58}{space 4}-.0112914{col 71}{space 3} .0004374
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0043456{col 30}{space 2} .0059028{col 41}{space 1}   -0.74{col 50}{space 3}0.462{col 58}{space 4}-.0159148{col 71}{space 3} .0072236
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .1106792{col 30}{space 2} .1130255{col 41}{space 1}    0.98{col 50}{space 3}0.327{col 58}{space 4}-.1108467{col 71}{space 3}  .332205
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} -.092621{col 30}{space 2} .0305471{col 41}{space 1}   -3.03{col 50}{space 3}0.002{col 58}{space 4}-.1524922{col 71}{space 3}-.0327498
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.0301359{col 30}{space 2}  .142986{col 41}{space 1}   -0.21{col 50}{space 3}0.833{col 58}{space 4}-.3103832{col 71}{space 3} .2501115
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2}-.4246309{col 30}{space 2} .4434111{col 41}{space 1}   -0.96{col 50}{space 3}0.338{col 58}{space 4}-1.293701{col 71}{space 3} .4444389
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 1.814226{col 30}{space 2}  1.20978{col 41}{space 1}    1.50{col 50}{space 3}0.134{col 58}{space 4}-.5569003{col 71}{space 3} 4.185351
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} 1.041453{col 30}{space 2} .5173484{col 41}{space 1}    2.01{col 50}{space 3}0.044{col 58}{space 4} .0274684{col 71}{space 3} 2.055437
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2}  2.83333{col 30}{space 2} 1.465819{col 58}{space 4} 1.027849{col 71}{space 3} 7.810248
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .3529416{col 30}{space 2} .1825938{col 58}{space 4} .1280369{col 71}{space 3} .9729054
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. drop _st _d _t _t0
{txt}
{com}. //Table 1 Model 7-12
. stset year_count, id(caseid) failure(all_nonsig) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}all_nonsig != 0 & all_nonsig < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       78{txt}  observations begin on or after (first) failure
{hline 78}
{res}      210{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       14{txt}  failures in single-failure-per-subject data
{res}      210{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg  agg_imp_rate_woc  if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -44.01615
{txt}Iteration 1:   log pseudolikelihood = {res}  -43.0727
{txt}Iteration 2:   log pseudolikelihood = {res}-43.052825
{txt}Iteration 3:   log pseudolikelihood = {res}-43.052817
{txt}Iteration 4:   log pseudolikelihood = {res}-43.052817

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-43.052817}  
Iteration 1:{space 3}log pseudolikelihood = {res:-33.756261}  
Iteration 2:{space 3}log pseudolikelihood = {res:-31.634695}  
Iteration 3:{space 3}log pseudolikelihood = {res:-31.572228}  
Iteration 4:{space 3}log pseudolikelihood = {res:-31.572026}  
Iteration 5:{space 3}log pseudolikelihood = {res:-31.572026}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       210
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         210
                                                   {txt}Wald chi2({res}1{txt})    ={res}     62.77
{txt}Log pseudolikelihood =   {res}-31.572026                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0585982{col 30}{space 2}  .007396{col 41}{space 1}    7.92{col 50}{space 3}0.000{col 58}{space 4} .0441023{col 71}{space 3}  .073094
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-.2706693{col 30}{space 2} .4039553{col 41}{space 1}   -0.67{col 50}{space 3}0.503{col 58}{space 4}-1.062407{col 71}{space 3} .5210686
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2}  .109621{col 30}{space 2} .2011674{col 41}{space 1}    0.54{col 50}{space 3}0.586{col 58}{space 4}-.2846599{col 71}{space 3} .5039019
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.115855{col 30}{space 2} .2244737{col 58}{space 4} .7522701{col 71}{space 3} 1.655167
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .8961737{col 30}{space 2}  .180281{col 58}{space 4} .6041686{col 71}{space 3}  1.32931
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.262912
{txt}Iteration 1:   log pseudolikelihood = {res}-42.503757
{txt}Iteration 2:   log pseudolikelihood = {res}-42.491997
{txt}Iteration 3:   log pseudolikelihood = {res}-42.491994

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.491994}  
Iteration 1:{space 3}log pseudolikelihood = {res:-30.974895}  
Iteration 2:{space 3}log pseudolikelihood = {res:-27.050933}  
Iteration 3:{space 3}log pseudolikelihood = {res:-26.816063}  
Iteration 4:{space 3}log pseudolikelihood = {res:-26.814937}  
Iteration 5:{space 3}log pseudolikelihood = {res:-26.814937}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       199
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         199
                                                   {txt}Wald chi2({res}6{txt})    ={res}     77.37
{txt}Log pseudolikelihood =   {res}-26.814937                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0529192{col 30}{space 2} .0138893{col 41}{space 1}    3.81{col 50}{space 3}0.000{col 58}{space 4} .0256967{col 71}{space 3} .0801417
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2} .2416054{col 30}{space 2} .5488356{col 41}{space 1}    0.44{col 50}{space 3}0.660{col 58}{space 4}-.8340926{col 71}{space 3} 1.317303
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0000329{col 30}{space 2} .0005231{col 41}{space 1}   -0.06{col 50}{space 3}0.950{col 58}{space 4}-.0010582{col 71}{space 3} .0009924
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0010192{col 30}{space 2} .0005595{col 41}{space 1}   -1.82{col 50}{space 3}0.069{col 58}{space 4}-.0021157{col 71}{space 3} .0000774
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0015423{col 30}{space 2} .0026355{col 41}{space 1}    0.59{col 50}{space 3}0.558{col 58}{space 4}-.0036231{col 71}{space 3} .0067077
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0018653{col 30}{space 2} .0086786{col 41}{space 1}   -0.21{col 50}{space 3}0.830{col 58}{space 4}-.0188751{col 71}{space 3} .0151446
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-.2024851{col 30}{space 2} 1.522776{col 41}{space 1}   -0.13{col 50}{space 3}0.894{col 58}{space 4}-3.187071{col 71}{space 3} 2.782101
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .4664585{col 30}{space 2} .1841182{col 41}{space 1}    2.53{col 50}{space 3}0.011{col 58}{space 4} .1055936{col 71}{space 3} .8273235
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.594338{col 30}{space 2} .2935466{col 58}{space 4}  1.11137{col 71}{space 3} 2.287189
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .6272196{col 30}{space 2} .1154825{col 58}{space 4} .4372179{col 71}{space 3} .8997903
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.121497
{txt}Iteration 1:   log pseudolikelihood = {res}-42.339471
{txt}Iteration 2:   log pseudolikelihood = {res}-42.326615
{txt}Iteration 3:   log pseudolikelihood = {res}-42.326611

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.326611}  
Iteration 1:{space 3}log pseudolikelihood = {res: -29.82783}  
Iteration 2:{space 3}log pseudolikelihood = {res:-25.033061}  
Iteration 3:{space 3}log pseudolikelihood = {res:-24.593983}  
Iteration 4:{space 3}log pseudolikelihood = {res:-24.585392}  
Iteration 5:{space 3}log pseudolikelihood = {res: -24.58538}  
Iteration 6:{space 3}log pseudolikelihood = {res: -24.58538}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       197
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         197
                                                   {txt}Wald chi2({res}7{txt})    ={res}     88.53
{txt}Log pseudolikelihood =   {res} -24.58538                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0552111{col 36}{space 2} .0105896{col 47}{space 1}    5.21{col 56}{space 3}0.000{col 64}{space 4} .0344559{col 77}{space 3} .0759663
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2} .0000942{col 36}{space 2} .0004705{col 47}{space 1}    0.20{col 56}{space 3}0.841{col 64}{space 4}-.0008279{col 77}{space 3} .0010163
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0010312{col 36}{space 2} .0004711{col 47}{space 1}   -2.19{col 56}{space 3}0.029{col 64}{space 4}-.0019545{col 77}{space 3}-.0001078
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0002375{col 36}{space 2} .0021319{col 47}{space 1}    0.11{col 56}{space 3}0.911{col 64}{space 4}-.0039409{col 77}{space 3} .0044159
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0001408{col 36}{space 2} .0044947{col 47}{space 1}    0.03{col 56}{space 3}0.975{col 64}{space 4}-.0086686{col 77}{space 3} .0089502
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2} .0738883{col 36}{space 2} .0366995{col 47}{space 1}    2.01{col 56}{space 3}0.044{col 64}{space 4} .0019586{col 77}{space 3}  .145818
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2}-.0102244{col 36}{space 2} .0055519{col 47}{space 1}   -1.84{col 56}{space 3}0.066{col 64}{space 4}-.0211058{col 77}{space 3} .0006571
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-.3197998{col 36}{space 2} .8082497{col 47}{space 1}   -0.40{col 56}{space 3}0.692{col 64}{space 4} -1.90394{col 77}{space 3} 1.264341
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .5651143{col 36}{space 2} .1541145{col 47}{space 1}    3.67{col 56}{space 3}0.000{col 64}{space 4} .2630553{col 77}{space 3} .8671733
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.759649{col 36}{space 2} .2711875{col 64}{space 4} 1.300899{col 77}{space 3} 2.380173
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5682952{col 36}{space 2} .0875826{col 64}{space 4} .4201375{col 77}{space 3} .7686993
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.192383
{txt}Iteration 1:   log pseudolikelihood = {res}-42.452721
{txt}Iteration 2:   log pseudolikelihood = {res}-42.441567
{txt}Iteration 3:   log pseudolikelihood = {res}-42.441565

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.441565}  
Iteration 1:{space 3}log pseudolikelihood = {res:-30.257463}  
Iteration 2:{space 3}log pseudolikelihood = {res:-26.295226}  
Iteration 3:{space 3}log pseudolikelihood = {res:-26.066872}  
Iteration 4:{space 3}log pseudolikelihood = {res:-26.066475}  
Iteration 5:{space 3}log pseudolikelihood = {res:-26.066475}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}6{txt})    ={res}     83.64
{txt}Log pseudolikelihood =   {res}-26.066475                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0514093{col 36}{space 2} .0115808{col 47}{space 1}    4.44{col 56}{space 3}0.000{col 64}{space 4} .0287114{col 77}{space 3} .0741073
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2} .0000377{col 36}{space 2} .0005357{col 47}{space 1}    0.07{col 56}{space 3}0.944{col 64}{space 4}-.0010123{col 77}{space 3} .0010876
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0009675{col 36}{space 2} .0005179{col 47}{space 1}   -1.87{col 56}{space 3}0.062{col 64}{space 4}-.0019826{col 77}{space 3} .0000477
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0009997{col 36}{space 2} .0019212{col 47}{space 1}    0.52{col 56}{space 3}0.603{col 64}{space 4}-.0027657{col 77}{space 3} .0047651
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0041748{col 36}{space 2}  .005668{col 47}{space 1}   -0.74{col 56}{space 3}0.461{col 64}{space 4}-.0152838{col 77}{space 3} .0069343
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} -.020466{col 36}{space 2} .0137217{col 47}{space 1}   -1.49{col 56}{space 3}0.136{col 64}{space 4}-.0473599{col 77}{space 3}  .006428
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3062502{col 36}{space 2} .9321851{col 47}{space 1}    0.33{col 56}{space 3}0.743{col 64}{space 4}-1.520799{col 77}{space 3} 2.133299
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .4618666{col 36}{space 2}   .15509{col 47}{space 1}    2.98{col 56}{space 3}0.003{col 64}{space 4} .1578958{col 77}{space 3} .7658374
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.587034{col 36}{space 2}  .246133{col 64}{space 4} 1.171044{col 77}{space 3} 2.150795
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .6301064{col 36}{space 2} .0977232{col 64}{space 4} .4649444{col 77}{space 3} .8539388
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.192383
{txt}Iteration 1:   log pseudolikelihood = {res}-42.390408
{txt}Iteration 2:   log pseudolikelihood = {res}-42.376877
{txt}Iteration 3:   log pseudolikelihood = {res}-42.376873

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.376873}  
Iteration 1:{space 3}log pseudolikelihood = {res:-40.421857}  
Iteration 2:{space 3}log pseudolikelihood = {res: -23.78648}  
Iteration 3:{space 3}log pseudolikelihood = {res:-23.614965}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.613717}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.613717}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}8{txt})    ={res}    115.33
{txt}Log pseudolikelihood =   {res}-23.613717                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0560836{col 30}{space 2} .0154263{col 41}{space 1}    3.64{col 50}{space 3}0.000{col 58}{space 4} .0258486{col 71}{space 3} .0863187
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} 9.92e-07{col 30}{space 2} .0004666{col 41}{space 1}    0.00{col 50}{space 3}0.998{col 58}{space 4}-.0009135{col 71}{space 3} .0009155
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0005462{col 30}{space 2} .0006499{col 41}{space 1}   -0.84{col 50}{space 3}0.401{col 58}{space 4}-.0018199{col 71}{space 3} .0007275
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0004751{col 30}{space 2} .0024682{col 41}{space 1}    0.19{col 50}{space 3}0.847{col 58}{space 4}-.0043624{col 71}{space 3} .0053127
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0021371{col 30}{space 2}  .007783{col 41}{space 1}    0.27{col 50}{space 3}0.784{col 58}{space 4}-.0131174{col 71}{space 3} .0173915
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .0644057{col 30}{space 2}  .065698{col 41}{space 1}    0.98{col 50}{space 3}0.327{col 58}{space 4}-.0643601{col 71}{space 3} .1931715
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} -.042886{col 30}{space 2} .0340385{col 41}{space 1}   -1.26{col 50}{space 3}0.208{col 58}{space 4}-.1096002{col 71}{space 3} .0238282
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.1398498{col 30}{space 2} .2277478{col 41}{space 1}   -0.61{col 50}{space 3}0.539{col 58}{space 4}-.5862274{col 71}{space 3} .3065278
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}  .731611{col 30}{space 2} 1.934811{col 41}{space 1}    0.38{col 50}{space 3}0.705{col 58}{space 4}-3.060549{col 71}{space 3} 4.523771
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .6257949{col 30}{space 2} .1243566{col 41}{space 1}    5.03{col 50}{space 3}0.000{col 58}{space 4} .3820606{col 71}{space 3} .8695293
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.869732{col 30}{space 2} .2325134{col 58}{space 4} 1.465301{col 71}{space 3} 2.385788
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .5348361{col 30}{space 2} .0665104{col 58}{space 4} .4191488{col 71}{space 3} .6824537
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.192383
{txt}Iteration 1:   log pseudolikelihood = {res}-42.390408
{txt}Iteration 2:   log pseudolikelihood = {res}-42.376877
{txt}Iteration 3:   log pseudolikelihood = {res}-42.376873

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.376873}  
Iteration 1:{space 3}log pseudolikelihood = {res:-28.534106}  
Iteration 2:{space 3}log pseudolikelihood = {res:-23.849686}  
Iteration 3:{space 3}log pseudolikelihood = {res:-23.217092}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.201245}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.201204}  
Iteration 6:{space 3}log pseudolikelihood = {res:-23.201204}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}9{txt})    ={res}    126.67
{txt}Log pseudolikelihood =   {res}-23.201204                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}  .061075{col 30}{space 2} .0158925{col 41}{space 1}    3.84{col 50}{space 3}0.000{col 58}{space 4} .0299263{col 71}{space 3} .0922237
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} .0000449{col 30}{space 2} .0004681{col 41}{space 1}    0.10{col 50}{space 3}0.924{col 58}{space 4}-.0008726{col 71}{space 3} .0009623
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0004084{col 30}{space 2} .0007005{col 41}{space 1}   -0.58{col 50}{space 3}0.560{col 58}{space 4}-.0017814{col 71}{space 3} .0009646
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0005373{col 30}{space 2} .0023593{col 41}{space 1}    0.23{col 50}{space 3}0.820{col 58}{space 4}-.0040868{col 71}{space 3} .0051614
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}   .00427{col 30}{space 2} .0080371{col 41}{space 1}    0.53{col 50}{space 3}0.595{col 58}{space 4}-.0114824{col 71}{space 3} .0200223
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .0535431{col 30}{space 2} .0784641{col 41}{space 1}    0.68{col 50}{space 3}0.495{col 58}{space 4}-.1002438{col 71}{space 3} .2073299
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2}-.0488408{col 30}{space 2} .0334509{col 41}{space 1}   -1.46{col 50}{space 3}0.144{col 58}{space 4}-.1144033{col 71}{space 3} .0167218
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.0632547{col 30}{space 2} .2035897{col 41}{space 1}   -0.31{col 50}{space 3}0.756{col 58}{space 4}-.4622832{col 71}{space 3} .3357739
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2}-.4559165{col 30}{space 2} .4480547{col 41}{space 1}   -1.02{col 50}{space 3}0.309{col 58}{space 4}-1.334087{col 71}{space 3} .4222545
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .2113389{col 30}{space 2}  1.96961{col 41}{space 1}    0.11{col 50}{space 3}0.915{col 58}{space 4}-3.649027{col 71}{space 3} 4.071704
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .6609997{col 30}{space 2} .1384639{col 41}{space 1}    4.77{col 50}{space 3}0.000{col 58}{space 4} .3896155{col 71}{space 3}  .932384
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.936728{col 30}{space 2} .2681668{col 58}{space 4} 1.476413{col 71}{space 3} 2.540559
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .5163349{col 30}{space 2} .0714937{col 58}{space 4} .3936142{col 71}{space 3} .6773173
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. drop _st _d _t _t0
{txt}
{com}. 
. //COX MODELS
. //Appendix Model 1-6
. stset year_count, id(caseid) failure(non_sig_diff_id) origin(time year_count) 

                {txt}id:  {res}caseid
     {txt}failure event:  {res}non_sig_diff_id != 0 & non_sig_diff_id < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       27{txt}  observations begin on or after (first) failure
{hline 78}
{res}      261{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}        6{txt}  failures in single-failure-per-subject data
{res}      261{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. 
. stcox  agg_imp_rate_woc  if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.620196
{txt}Iteration 1:   log pseudolikelihood = {res}-17.284594
{txt}Iteration 2:   log pseudolikelihood = {res}-17.205847
{txt}Iteration 3:   log pseudolikelihood = {res}-17.205768
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-17.205768

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       261
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         261
                                                   {txt}Wald chi2({res}1{txt})    ={res}     11.81
{txt}Log pseudolikelihood =   {res}-17.205768                {txt}Prob > chi2     ={res}    0.0006

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0586282{col 30}{space 2} .0170615{col 41}{space 1}   -3.44{col 50}{space 3}0.001{col 58}{space 4}-.0920681{col 71}{space 3}-.0251882
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) nohr  

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.394586
{txt}Iteration 1:   log pseudolikelihood = {res}-14.459082
{txt}Iteration 2:   log pseudolikelihood = {res}-14.014504
{txt}Iteration 3:   log pseudolikelihood = {res}-13.990197
{txt}Iteration 4:   log pseudolikelihood = {res}-13.990107
{txt}Iteration 5:   log pseudolikelihood = {res}-13.990107
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-13.990107

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       245
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         245
                                                   {txt}Wald chi2({res}6{txt})    ={res}     26.94
{txt}Log pseudolikelihood =   {res}-13.990107                {txt}Prob > chi2     ={res}    0.0001

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0561101{col 30}{space 2} .0206303{col 41}{space 1}   -2.72{col 50}{space 3}0.007{col 58}{space 4}-.0965447{col 71}{space 3}-.0156755
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2} 2.366564{col 30}{space 2} 1.545062{col 41}{space 1}    1.53{col 50}{space 3}0.126{col 58}{space 4}-.6617008{col 71}{space 3}  5.39483
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0001038{col 30}{space 2} .0007238{col 41}{space 1}   -0.14{col 50}{space 3}0.886{col 58}{space 4}-.0015225{col 71}{space 3} .0013148
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0002618{col 30}{space 2} .0014073{col 41}{space 1}   -0.19{col 50}{space 3}0.852{col 58}{space 4}-.0030199{col 71}{space 3} .0024964
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0114618{col 30}{space 2} .0066428{col 41}{space 1}    1.73{col 50}{space 3}0.084{col 58}{space 4}-.0015579{col 71}{space 3} .0244815
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0264818{col 30}{space 2}  .022609{col 41}{space 1}    1.17{col 50}{space 3}0.241{col 58}{space 4} -.017831{col 71}{space 3} .0707946
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.189001
{txt}Iteration 1:   log pseudolikelihood = {res}-14.646423
{txt}Iteration 2:   log pseudolikelihood = {res}-14.344654
{txt}Iteration 3:   log pseudolikelihood = {res}-14.332321
{txt}Iteration 4:   log pseudolikelihood = {res}-14.332273
{txt}Iteration 5:   log pseudolikelihood = {res}-14.332273
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-14.332273

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       235
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         235
                                                   {txt}Wald chi2({res}7{txt})    ={res}     24.92
{txt}Log pseudolikelihood =   {res}-14.332273                {txt}Prob > chi2     ={res}    0.0008

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2}-.0822634{col 36}{space 2} .0225607{col 47}{space 1}   -3.65{col 56}{space 3}0.000{col 64}{space 4}-.1264817{col 77}{space 3}-.0380452
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0001192{col 36}{space 2} .0010678{col 47}{space 1}   -0.11{col 56}{space 3}0.911{col 64}{space 4}-.0022121{col 77}{space 3} .0019737
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0012786{col 36}{space 2} .0018009{col 47}{space 1}   -0.71{col 56}{space 3}0.478{col 64}{space 4}-.0048083{col 77}{space 3}  .002251
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0068603{col 36}{space 2} .0060607{col 47}{space 1}    1.13{col 56}{space 3}0.258{col 64}{space 4}-.0050185{col 77}{space 3} .0187391
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0061335{col 36}{space 2}  .008656{col 47}{space 1}   -0.71{col 56}{space 3}0.479{col 64}{space 4} -.023099{col 77}{space 3}  .010832
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2}-.1407149{col 36}{space 2} .1544574{col 47}{space 1}   -0.91{col 56}{space 3}0.362{col 64}{space 4}-.4434458{col 77}{space 3}  .162016
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0227704{col 36}{space 2} .0336412{col 47}{space 1}    0.68{col 56}{space 3}0.498{col 64}{space 4}-.0431651{col 77}{space 3} .0887059
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.394586
{txt}Iteration 1:   log pseudolikelihood = {res} -15.29847
{txt}Iteration 2:   log pseudolikelihood = {res} -15.17521
{txt}Iteration 3:   log pseudolikelihood = {res}-15.174097
{txt}Iteration 4:   log pseudolikelihood = {res}-15.174097
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-15.174097

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       244
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         244
                                                   {txt}Wald chi2({res}6{txt})    ={res}     18.20
{txt}Log pseudolikelihood =   {res}-15.174097                {txt}Prob > chi2     ={res}    0.0058

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2}-.0687404{col 36}{space 2} .0207208{col 47}{space 1}   -3.32{col 56}{space 3}0.001{col 64}{space 4}-.1093524{col 77}{space 3}-.0281284
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2} .0003784{col 36}{space 2} .0006291{col 47}{space 1}    0.60{col 56}{space 3}0.547{col 64}{space 4}-.0008545{col 77}{space 3} .0016114
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0015349{col 36}{space 2} .0020042{col 47}{space 1}   -0.77{col 56}{space 3}0.444{col 64}{space 4} -.005463{col 77}{space 3} .0023933
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0050044{col 36}{space 2} .0038088{col 47}{space 1}    1.31{col 56}{space 3}0.189{col 64}{space 4}-.0024608{col 77}{space 3} .0124695
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0044529{col 36}{space 2}  .010305{col 47}{space 1}    0.43{col 56}{space 3}0.666{col 64}{space 4}-.0157445{col 77}{space 3} .0246503
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0283007{col 36}{space 2} .0347177{col 47}{space 1}    0.82{col 56}{space 3}0.415{col 64}{space 4}-.0397448{col 77}{space 3} .0963462
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.189001
{txt}Iteration 1:   log pseudolikelihood = {res}-13.991581
{txt}Iteration 2:   log pseudolikelihood = {res}-13.025763
{txt}Iteration 3:   log pseudolikelihood = {res}-12.930569
{txt}Iteration 4:   log pseudolikelihood = {res}-12.926162
{txt}Iteration 5:   log pseudolikelihood = {res}-12.926133
{txt}Iteration 6:   log pseudolikelihood = {res}-12.926133
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-12.926133

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}8{txt})    ={res}     33.16
{txt}Log pseudolikelihood =   {res}-12.926133                {txt}Prob > chi2     ={res}    0.0001

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.1144799{col 30}{space 2} .0425216{col 41}{space 1}   -2.69{col 50}{space 3}0.007{col 58}{space 4}-.1978207{col 71}{space 3}-.0311391
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0002377{col 30}{space 2} .0014441{col 41}{space 1}   -0.16{col 50}{space 3}0.869{col 58}{space 4}-.0030682{col 71}{space 3} .0025928
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0044119{col 30}{space 2}  .003535{col 41}{space 1}   -1.25{col 50}{space 3}0.212{col 58}{space 4}-.0113404{col 71}{space 3} .0025166
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0084597{col 30}{space 2} .0099271{col 41}{space 1}    0.85{col 50}{space 3}0.394{col 58}{space 4}-.0109969{col 71}{space 3} .0279164
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0022512{col 30}{space 2} .0123466{col 41}{space 1}   -0.18{col 50}{space 3}0.855{col 58}{space 4}  -.02645{col 71}{space 3} .0219476
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2}-.1946887{col 30}{space 2} .2376267{col 41}{space 1}   -0.82{col 50}{space 3}0.413{col 58}{space 4}-.6604285{col 71}{space 3} .2710512
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .1497602{col 30}{space 2} .1091324{col 41}{space 1}    1.37{col 50}{space 3}0.170{col 58}{space 4}-.0641354{col 71}{space 3} .3636557
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .1278031{col 30}{space 2} .3581474{col 41}{space 1}    0.36{col 50}{space 3}0.721{col 58}{space 4} -.574153{col 71}{space 3} .8297592
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) nohr 

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.189001
{txt}Iteration 1:   log pseudolikelihood = {res}-14.028886
{txt}Iteration 2:   log pseudolikelihood = {res}-13.007402
{txt}Iteration 3:   log pseudolikelihood = {res}-12.911482
{txt}Iteration 4:   log pseudolikelihood = {res}-12.906257
{txt}Iteration 5:   log pseudolikelihood = {res}-12.906203
{txt}Iteration 6:   log pseudolikelihood = {res}-12.906203
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-12.906203

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}9{txt})    ={res}     39.72
{txt}Log pseudolikelihood =   {res}-12.906203                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.1173874{col 30}{space 2}  .042777{col 41}{space 1}   -2.74{col 50}{space 3}0.006{col 58}{space 4}-.2012288{col 71}{space 3}-.0335461
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0002967{col 30}{space 2} .0014654{col 41}{space 1}   -0.20{col 50}{space 3}0.840{col 58}{space 4}-.0031688{col 71}{space 3} .0025753
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0046907{col 30}{space 2} .0036991{col 41}{space 1}   -1.27{col 50}{space 3}0.205{col 58}{space 4}-.0119408{col 71}{space 3} .0025593
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0084528{col 30}{space 2} .0098382{col 41}{space 1}    0.86{col 50}{space 3}0.390{col 58}{space 4}-.0108297{col 71}{space 3} .0277354
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0028478{col 30}{space 2} .0121577{col 41}{space 1}   -0.23{col 50}{space 3}0.815{col 58}{space 4}-.0266765{col 71}{space 3} .0209808
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} -.190489{col 30}{space 2} .2440977{col 41}{space 1}   -0.78{col 50}{space 3}0.435{col 58}{space 4}-.6689118{col 71}{space 3} .2879338
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .1558899{col 30}{space 2} .1101369{col 41}{space 1}    1.42{col 50}{space 3}0.157{col 58}{space 4}-.0599745{col 71}{space 3} .3717542
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .0891722{col 30}{space 2} .2794942{col 41}{space 1}    0.32{col 50}{space 3}0.750{col 58}{space 4}-.4586263{col 71}{space 3} .6369708
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2} .3524685{col 30}{space 2}  .986514{col 41}{space 1}    0.36{col 50}{space 3}0.721{col 58}{space 4}-1.581063{col 71}{space 3}    2.286
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. drop _st _d _t _t0
{txt}
{com}. //Appendix Model 7-12
. stset year_count, id(caseid) failure(all_nonsig) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}all_nonsig != 0 & all_nonsig < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       78{txt}  observations begin on or after (first) failure
{hline 78}
{res}      210{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       14{txt}  failures in single-failure-per-subject data
{res}      210{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. stcox  agg_imp_rate_woc  if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-47.065599
{txt}Iteration 1:   log pseudolikelihood = {res} -39.93582
{txt}Iteration 2:   log pseudolikelihood = {res}-39.856846
{txt}Iteration 3:   log pseudolikelihood = {res}-39.856805
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-39.856805

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       210
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         210
                                                   {txt}Wald chi2({res}1{txt})    ={res}     19.19
{txt}Log pseudolikelihood =   {res}-39.856805                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0553779{col 30}{space 2} .0126414{col 41}{space 1}   -4.38{col 50}{space 3}0.000{col 58}{space 4}-.0801546{col 71}{space 3}-.0306012
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) nohr  

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.911448
{txt}Iteration 1:   log pseudolikelihood = {res}-38.412658
{txt}Iteration 2:   log pseudolikelihood = {res}-37.873327
{txt}Iteration 3:   log pseudolikelihood = {res}-37.851847
{txt}Iteration 4:   log pseudolikelihood = {res}-37.851815
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-37.851815

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       199
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         199
                                                   {txt}Wald chi2({res}6{txt})    ={res}     43.44
{txt}Log pseudolikelihood =   {res}-37.851815                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0622847{col 30}{space 2} .0177706{col 41}{space 1}   -3.50{col 50}{space 3}0.000{col 58}{space 4}-.0971145{col 71}{space 3}-.0274549
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2}-.0168405{col 30}{space 2} .6684867{col 41}{space 1}   -0.03{col 50}{space 3}0.980{col 58}{space 4} -1.32705{col 71}{space 3} 1.293369
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} -.000011{col 30}{space 2} .0007229{col 41}{space 1}   -0.02{col 50}{space 3}0.988{col 58}{space 4}-.0014279{col 71}{space 3} .0014059
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0012648{col 30}{space 2}  .000655{col 41}{space 1}    1.93{col 50}{space 3}0.053{col 58}{space 4} -.000019{col 71}{space 3} .0025486
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0012131{col 30}{space 2} .0028781{col 41}{space 1}   -0.42{col 50}{space 3}0.673{col 58}{space 4}-.0068542{col 71}{space 3} .0044279
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0028851{col 30}{space 2} .0087247{col 41}{space 1}    0.33{col 50}{space 3}0.741{col 58}{space 4}-.0142151{col 71}{space 3} .0199853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.702478
{txt}Iteration 1:   log pseudolikelihood = {res}-37.129934
{txt}Iteration 2:   log pseudolikelihood = {res}-36.647477
{txt}Iteration 3:   log pseudolikelihood = {res} -36.60652
{txt}Iteration 4:   log pseudolikelihood = {res}-36.606257
{txt}Iteration 5:   log pseudolikelihood = {res}-36.606257
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-36.606257

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       197
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         197
                                                   {txt}Wald chi2({res}7{txt})    ={res}     61.27
{txt}Log pseudolikelihood =   {res}-36.606257                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2}-.0682323{col 36}{space 2} .0177935{col 47}{space 1}   -3.83{col 56}{space 3}0.000{col 64}{space 4} -.103107{col 77}{space 3}-.0333576
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0002148{col 36}{space 2} .0007692{col 47}{space 1}   -0.28{col 56}{space 3}0.780{col 64}{space 4}-.0017224{col 77}{space 3} .0012927
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0010589{col 36}{space 2}  .000692{col 47}{space 1}    1.53{col 56}{space 3}0.126{col 64}{space 4}-.0002973{col 77}{space 3} .0024151
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0000454{col 36}{space 2} .0027549{col 47}{space 1}   -0.02{col 56}{space 3}0.987{col 64}{space 4}-.0054449{col 77}{space 3}  .005354
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0018153{col 36}{space 2}   .00602{col 47}{space 1}    0.30{col 56}{space 3}0.763{col 64}{space 4}-.0099837{col 77}{space 3} .0136142
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2}-.0751622{col 36}{space 2} .0491078{col 47}{space 1}   -1.53{col 56}{space 3}0.126{col 64}{space 4}-.1714117{col 77}{space 3} .0210873
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0235913{col 36}{space 2} .0107719{col 47}{space 1}    2.19{col 56}{space 3}0.029{col 64}{space 4} .0024787{col 77}{space 3} .0447038
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.911448
{txt}Iteration 1:   log pseudolikelihood = {res}-37.492697
{txt}Iteration 2:   log pseudolikelihood = {res}-37.204108
{txt}Iteration 3:   log pseudolikelihood = {res}-37.191083
{txt}Iteration 4:   log pseudolikelihood = {res}-37.191054
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-37.191054

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}6{txt})    ={res}     59.90
{txt}Log pseudolikelihood =   {res}-37.191054                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2}-.0615971{col 36}{space 2} .0144424{col 47}{space 1}   -4.27{col 56}{space 3}0.000{col 64}{space 4}-.0899036{col 77}{space 3}-.0332906
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0000413{col 36}{space 2} .0007587{col 47}{space 1}   -0.05{col 56}{space 3}0.957{col 64}{space 4}-.0015283{col 77}{space 3} .0014457
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0010195{col 36}{space 2} .0006639{col 47}{space 1}    1.54{col 56}{space 3}0.125{col 64}{space 4}-.0002817{col 77}{space 3} .0023206
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0010272{col 36}{space 2} .0022611{col 47}{space 1}   -0.45{col 56}{space 3}0.650{col 64}{space 4}-.0054589{col 77}{space 3} .0034046
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0051878{col 36}{space 2} .0058763{col 47}{space 1}    0.88{col 56}{space 3}0.377{col 64}{space 4}-.0063295{col 77}{space 3} .0167052
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0314022{col 36}{space 2}  .013415{col 47}{space 1}    2.34{col 56}{space 3}0.019{col 64}{space 4} .0051092{col 77}{space 3} .0576952
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media if  exclude_cases==0, cluster (cowcode)nohr  

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.702478
{txt}Iteration 1:   log pseudolikelihood = {res}-36.966348
{txt}Iteration 2:   log pseudolikelihood = {res}-36.226727
{txt}Iteration 3:   log pseudolikelihood = {res}-36.171846
{txt}Iteration 4:   log pseudolikelihood = {res}-36.171665
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-36.171665

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}8{txt})    ={res}     61.05
{txt}Log pseudolikelihood =   {res}-36.171665                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0781793{col 30}{space 2}  .023249{col 41}{space 1}   -3.36{col 50}{space 3}0.001{col 58}{space 4}-.1237466{col 71}{space 3} -.032612
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0000901{col 30}{space 2} .0007698{col 41}{space 1}   -0.12{col 50}{space 3}0.907{col 58}{space 4}-.0015989{col 71}{space 3} .0014187
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0007425{col 30}{space 2} .0008335{col 41}{space 1}    0.89{col 50}{space 3}0.373{col 58}{space 4}-.0008912{col 71}{space 3} .0023762
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0007509{col 30}{space 2} .0032109{col 41}{space 1}   -0.23{col 50}{space 3}0.815{col 58}{space 4}-.0070441{col 71}{space 3} .0055424
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0022692{col 30}{space 2} .0096942{col 41}{space 1}   -0.23{col 50}{space 3}0.815{col 58}{space 4}-.0212695{col 71}{space 3} .0167312
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2}-.0775596{col 30}{space 2}  .073816{col 41}{space 1}   -1.05{col 50}{space 3}0.293{col 58}{space 4}-.2222363{col 71}{space 3}  .067117
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .0525791{col 30}{space 2} .0497765{col 41}{space 1}    1.06{col 50}{space 3}0.291{col 58}{space 4} -.044981{col 71}{space 3} .1501392
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .2063174{col 30}{space 2} .2730138{col 41}{space 1}    0.76{col 50}{space 3}0.450{col 58}{space 4}-.3287798{col 71}{space 3} .7414146
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcox agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) nohr 

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.702478
{txt}Iteration 1:   log pseudolikelihood = {res}-36.873218
{txt}Iteration 2:   log pseudolikelihood = {res}-36.080062
{txt}Iteration 3:   log pseudolikelihood = {res}-36.036333
{txt}Iteration 4:   log pseudolikelihood = {res}-36.036217
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-36.036217

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}9{txt})    ={res}     60.60
{txt}Log pseudolikelihood =   {res}-36.036217                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0846716{col 30}{space 2} .0228575{col 41}{space 1}   -3.70{col 50}{space 3}0.000{col 58}{space 4}-.1294714{col 71}{space 3}-.0398717
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0001581{col 30}{space 2} .0008172{col 41}{space 1}   -0.19{col 50}{space 3}0.847{col 58}{space 4}-.0017598{col 71}{space 3} .0014436
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0006618{col 30}{space 2} .0008682{col 41}{space 1}    0.76{col 50}{space 3}0.446{col 58}{space 4}-.0010399{col 71}{space 3} .0023636
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0007119{col 30}{space 2}  .003167{col 41}{space 1}   -0.22{col 50}{space 3}0.822{col 58}{space 4}-.0069191{col 71}{space 3} .0054953
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0044469{col 30}{space 2} .0096526{col 41}{space 1}   -0.46{col 50}{space 3}0.645{col 58}{space 4}-.0233657{col 71}{space 3} .0144719
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2}-.0715305{col 30}{space 2} .0822007{col 41}{space 1}   -0.87{col 50}{space 3}0.384{col 58}{space 4}-.2326408{col 71}{space 3} .0895799
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .0568318{col 30}{space 2} .0491138{col 41}{space 1}    1.16{col 50}{space 3}0.247{col 58}{space 4}-.0394294{col 71}{space 3} .1530931
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .1268486{col 30}{space 2} .2548423{col 41}{space 1}    0.50{col 50}{space 3}0.619{col 58}{space 4}-.3726332{col 71}{space 3} .6263304
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2} .4725199{col 30}{space 2} .6212595{col 41}{space 1}    0.76{col 50}{space 3}0.447{col 58}{space 4}-.7451264{col 71}{space 3} 1.690166
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. //Survival Graphs for different non-sig and all non-sig Last Model
. 
. drop _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure(non_sig_diff_id) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}non_sig_diff_id != 0 & non_sig_diff_id < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       27{txt}  observations begin on or after (first) failure
{hline 78}
{res}      261{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}        6{txt}  failures in single-failure-per-subject data
{res}      261{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -22.90847
{txt}Iteration 1:   log pseudolikelihood = {res}-22.798071
{txt}Iteration 2:   log pseudolikelihood = {res}-22.797286
{txt}Iteration 3:   log pseudolikelihood = {res}-22.797286

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-22.797286}  
Iteration 1:{space 3}log pseudolikelihood = {res:-16.512612}  
Iteration 2:{space 3}log pseudolikelihood = {res:-12.916262}  
Iteration 3:{space 3}log pseudolikelihood = {res:-11.830425}  
Iteration 4:{space 3}log pseudolikelihood = {res:-11.651365}  
Iteration 5:{space 3}log pseudolikelihood = {res:-11.634974}  
Iteration 6:{space 3}log pseudolikelihood = {res:-11.634906}  
Iteration 7:{space 3}log pseudolikelihood = {res:-11.634906}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}9{txt})    ={res}    145.06
{txt}Log pseudolikelihood =   {res}-11.634906                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0592121{col 30}{space 2} .0077146{col 41}{space 1}    7.68{col 50}{space 3}0.000{col 58}{space 4} .0440916{col 71}{space 3} .0743325
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} .0002371{col 30}{space 2} .0005672{col 41}{space 1}    0.42{col 50}{space 3}0.676{col 58}{space 4}-.0008746{col 71}{space 3} .0013489
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0036097{col 30}{space 2}  .002246{col 41}{space 1}    1.61{col 50}{space 3}0.108{col 58}{space 4}-.0007924{col 71}{space 3} .0080118
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} -.005427{col 30}{space 2} .0029921{col 41}{space 1}   -1.81{col 50}{space 3}0.070{col 58}{space 4}-.0112914{col 71}{space 3} .0004374
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0043456{col 30}{space 2} .0059028{col 41}{space 1}   -0.74{col 50}{space 3}0.462{col 58}{space 4}-.0159148{col 71}{space 3} .0072236
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .1106792{col 30}{space 2} .1130255{col 41}{space 1}    0.98{col 50}{space 3}0.327{col 58}{space 4}-.1108467{col 71}{space 3}  .332205
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} -.092621{col 30}{space 2} .0305471{col 41}{space 1}   -3.03{col 50}{space 3}0.002{col 58}{space 4}-.1524922{col 71}{space 3}-.0327498
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.0301359{col 30}{space 2}  .142986{col 41}{space 1}   -0.21{col 50}{space 3}0.833{col 58}{space 4}-.3103832{col 71}{space 3} .2501115
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2}-.4246309{col 30}{space 2} .4434111{col 41}{space 1}   -0.96{col 50}{space 3}0.338{col 58}{space 4}-1.293701{col 71}{space 3} .4444389
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 1.814226{col 30}{space 2}  1.20978{col 41}{space 1}    1.50{col 50}{space 3}0.134{col 58}{space 4}-.5569003{col 71}{space 3} 4.185351
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} 1.041453{col 30}{space 2} .5173484{col 41}{space 1}    2.01{col 50}{space 3}0.044{col 58}{space 4} .0274684{col 71}{space 3} 2.055437
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2}  2.83333{col 30}{space 2} 1.465819{col 58}{space 4} 1.027849{col 71}{space 3} 7.810248
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .3529416{col 30}{space 2} .1825938{col 58}{space 4} .1280369{col 71}{space 3} .9729054
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\non-sig-diffid.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\non-sig-diffid.gph saved)

{com}. stcox agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) nohr 

         {txt}failure _d:  {res}non_sig_diff_id
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-20.189001
{txt}Iteration 1:   log pseudolikelihood = {res}-14.028886
{txt}Iteration 2:   log pseudolikelihood = {res}-13.007402
{txt}Iteration 3:   log pseudolikelihood = {res}-12.911482
{txt}Iteration 4:   log pseudolikelihood = {res}-12.906257
{txt}Iteration 5:   log pseudolikelihood = {res}-12.906203
{txt}Iteration 6:   log pseudolikelihood = {res}-12.906203
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-12.906203

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       236
{txt}No. of failures      = {res}           6
{txt}Time at risk         = {res}         236
                                                   {txt}Wald chi2({res}9{txt})    ={res}     39.72
{txt}Log pseudolikelihood =   {res}-12.906203                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.1173874{col 30}{space 2}  .042777{col 41}{space 1}   -2.74{col 50}{space 3}0.006{col 58}{space 4}-.2012288{col 71}{space 3}-.0335461
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0002967{col 30}{space 2} .0014654{col 41}{space 1}   -0.20{col 50}{space 3}0.840{col 58}{space 4}-.0031688{col 71}{space 3} .0025753
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0046907{col 30}{space 2} .0036991{col 41}{space 1}   -1.27{col 50}{space 3}0.205{col 58}{space 4}-.0119408{col 71}{space 3} .0025593
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0084528{col 30}{space 2} .0098382{col 41}{space 1}    0.86{col 50}{space 3}0.390{col 58}{space 4}-.0108297{col 71}{space 3} .0277354
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0028478{col 30}{space 2} .0121577{col 41}{space 1}   -0.23{col 50}{space 3}0.815{col 58}{space 4}-.0266765{col 71}{space 3} .0209808
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} -.190489{col 30}{space 2} .2440977{col 41}{space 1}   -0.78{col 50}{space 3}0.435{col 58}{space 4}-.6689118{col 71}{space 3} .2879338
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .1558899{col 30}{space 2} .1101369{col 41}{space 1}    1.42{col 50}{space 3}0.157{col 58}{space 4}-.0599745{col 71}{space 3} .3717542
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .0891722{col 30}{space 2} .2794942{col 41}{space 1}    0.32{col 50}{space 3}0.750{col 58}{space 4}-.4586263{col 71}{space 3} .6369708
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2} .3524685{col 30}{space 2}  .986514{col 41}{space 1}    0.36{col 50}{space 3}0.721{col 58}{space 4}-1.581063{col 71}{space 3}    2.286
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxnon-sig-diffid.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxnon-sig-diffid.gph saved)

{com}. 
.  
. drop _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure(all_nonsig) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}all_nonsig != 0 & all_nonsig < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      323{txt}  total observations
{res}        1{txt}  event time missing (year_count>=.)                   PROBABLE ERROR
{res}       34{txt}  observations end on or before enter()
{res}       78{txt}  observations begin on or after (first) failure
{hline 78}
{res}      210{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       14{txt}  failures in single-failure-per-subject data
{res}      210{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-43.192383
{txt}Iteration 1:   log pseudolikelihood = {res}-42.390408
{txt}Iteration 2:   log pseudolikelihood = {res}-42.376877
{txt}Iteration 3:   log pseudolikelihood = {res}-42.376873

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-42.376873}  
Iteration 1:{space 3}log pseudolikelihood = {res:-28.534106}  
Iteration 2:{space 3}log pseudolikelihood = {res:-23.849686}  
Iteration 3:{space 3}log pseudolikelihood = {res:-23.217092}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.201245}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.201204}  
Iteration 6:{space 3}log pseudolikelihood = {res:-23.201204}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}9{txt})    ={res}    126.67
{txt}Log pseudolikelihood =   {res}-23.201204                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}  .061075{col 30}{space 2} .0158925{col 41}{space 1}    3.84{col 50}{space 3}0.000{col 58}{space 4} .0299263{col 71}{space 3} .0922237
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} .0000449{col 30}{space 2} .0004681{col 41}{space 1}    0.10{col 50}{space 3}0.924{col 58}{space 4}-.0008726{col 71}{space 3} .0009623
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0004084{col 30}{space 2} .0007005{col 41}{space 1}   -0.58{col 50}{space 3}0.560{col 58}{space 4}-.0017814{col 71}{space 3} .0009646
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0005373{col 30}{space 2} .0023593{col 41}{space 1}    0.23{col 50}{space 3}0.820{col 58}{space 4}-.0040868{col 71}{space 3} .0051614
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}   .00427{col 30}{space 2} .0080371{col 41}{space 1}    0.53{col 50}{space 3}0.595{col 58}{space 4}-.0114824{col 71}{space 3} .0200223
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .0535431{col 30}{space 2} .0784641{col 41}{space 1}    0.68{col 50}{space 3}0.495{col 58}{space 4}-.1002438{col 71}{space 3} .2073299
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2}-.0488408{col 30}{space 2} .0334509{col 41}{space 1}   -1.46{col 50}{space 3}0.144{col 58}{space 4}-.1144033{col 71}{space 3} .0167218
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2}-.0632547{col 30}{space 2} .2035897{col 41}{space 1}   -0.31{col 50}{space 3}0.756{col 58}{space 4}-.4622832{col 71}{space 3} .3357739
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2}-.4559165{col 30}{space 2} .4480547{col 41}{space 1}   -1.02{col 50}{space 3}0.309{col 58}{space 4}-1.334087{col 71}{space 3} .4222545
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .2113389{col 30}{space 2}  1.96961{col 41}{space 1}    0.11{col 50}{space 3}0.915{col 58}{space 4}-3.649027{col 71}{space 3} 4.071704
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .6609997{col 30}{space 2} .1384639{col 41}{space 1}    4.77{col 50}{space 3}0.000{col 58}{space 4} .3896155{col 71}{space 3}  .932384
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.936728{col 30}{space 2} .2681668{col 58}{space 4} 1.476413{col 71}{space 3} 2.540559
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .5163349{col 30}{space 2} .0714937{col 58}{space 4} .3936142{col 71}{space 3} .6773173
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\allnon-sig-diffid.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\allnon-sig-diffid.gph saved)

{com}. stcox agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag total_prov_woc ln_media peacekeeing if  exclude_cases==0, cluster (cowcode) nohr 

         {txt}failure _d:  {res}all_nonsig
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Iteration 0:   log pseudolikelihood = {res}-46.702478
{txt}Iteration 1:   log pseudolikelihood = {res}-36.873218
{txt}Iteration 2:   log pseudolikelihood = {res}-36.080062
{txt}Iteration 3:   log pseudolikelihood = {res}-36.036333
{txt}Iteration 4:   log pseudolikelihood = {res}-36.036217
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-36.036217

{txt}Cox regression -- Breslow method for ties

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       198
{txt}No. of failures      = {res}          14
{txt}Time at risk         = {res}         198
                                                   {txt}Wald chi2({res}9{txt})    ={res}     60.60
{txt}Log pseudolikelihood =   {res}-36.036217                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2}-.0846716{col 30}{space 2} .0228575{col 41}{space 1}   -3.70{col 50}{space 3}0.000{col 58}{space 4}-.1294714{col 71}{space 3}-.0398717
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0001581{col 30}{space 2} .0008172{col 41}{space 1}   -0.19{col 50}{space 3}0.847{col 58}{space 4}-.0017598{col 71}{space 3} .0014436
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0006618{col 30}{space 2} .0008682{col 41}{space 1}    0.76{col 50}{space 3}0.446{col 58}{space 4}-.0010399{col 71}{space 3} .0023636
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0007119{col 30}{space 2}  .003167{col 41}{space 1}   -0.22{col 50}{space 3}0.822{col 58}{space 4}-.0069191{col 71}{space 3} .0054953
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0044469{col 30}{space 2} .0096526{col 41}{space 1}   -0.46{col 50}{space 3}0.645{col 58}{space 4}-.0233657{col 71}{space 3} .0144719
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2}-.0715305{col 30}{space 2} .0822007{col 41}{space 1}   -0.87{col 50}{space 3}0.384{col 58}{space 4}-.2326408{col 71}{space 3} .0895799
{txt}{space 2}total_prov_woc {c |}{col 18}{res}{space 2} .0568318{col 30}{space 2} .0491138{col 41}{space 1}    1.16{col 50}{space 3}0.247{col 58}{space 4}-.0394294{col 71}{space 3} .1530931
{txt}{space 8}ln_media {c |}{col 18}{res}{space 2} .1268486{col 30}{space 2} .2548423{col 41}{space 1}    0.50{col 50}{space 3}0.619{col 58}{space 4}-.3726332{col 71}{space 3} .6263304
{txt}{space 5}peacekeeing {c |}{col 18}{res}{space 2} .4725199{col 30}{space 2} .6212595{col 41}{space 1}    0.76{col 50}{space 3}0.447{col 58}{space 4}-.7451264{col 71}{space 3} 1.690166
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxallnon-sig-diffid.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxallnon-sig-diffid.gph saved)

{com}.  
. //Graph Combines for Figure 1 
. graph combine  "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\non-sig-diffid.gph" "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\allnon-sig-diffid.gph", xcommon
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\survival nonsig diff and all id.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\survival nonsig diff and all id.gph saved)

{com}.  
. //Graph Combine for Figure in Appendix 
. graph combine "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxnon-sig-diffid.gph" "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\coxallnon-sig-diffid.gph", xcommon
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\cox nonsig diff and all id.gph", replace
{res}{txt}(file C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\cox nonsig diff and all id.gph saved)

{com}. drop _st _d _t _t0
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Google Drive\2015 PROJECTS\R-and-P\R&PDATA\non-sig18dec2015.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}18 Jan 2016, 09:38:02
{txt}{.-}
{smcl}
{txt}{sf}{ul off}